<body class="">
<!--<![endif]-->
<p style="width:0%;border:2px solid pink;margin:0px;position:absolute;top:0px;left:0px;z-index:100000" id="loadIngCent"></p>
<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <script>
                $("#tips").click(function(){
                    if($('#detail_show').css('display') == 'none'){
                        $('#detail_show').show();return false;
                    }else{
                        $('#detail_show').hide();return false;
                    }
                });
                $(function(){
                    <?php if($order_count > 0){?>
                        $("#tips").addClass("open");
                        <?php }else{?>
                        $("#tips").removeClass("open");
                        <?php }?>
                    });
            </script>

            <li id="fat-menu" class="dropdown">
                <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="icon-user"></i> <?=session('loginName')?>
                    <i class="icon-caret-down"></i>
                </a>
                <ul class="dropdown-menu">
                    <li><a tabindex="-1" href="javascript:void(0)" id="myaccount" class="ifrm" data-url="/user/usercenter" data-width="450" data-height="450" data-title="我的账户" data-params="">我的账户</a></li>
                    <li><a tabindex="-1" class="visible-phone" href="#">系统设置</a></li>
                    <li class="divider"></li>
                    <li><a tabindex="-1" href="/user/loginout">注消</a></li>
                </ul>
            </li>
        </ul>
        <a class="brand" href=""><span class="second">π付系统</span></a>
    </div>

</div>
<script>loadCent('20%',100);</script>
<div class="sidebar-nav">
    <?php
			$_current_c = explode('-',I('get.res') ?: '0-1');
			$_icon_tags = C('icons');
			foreach($menus AS $k=>$val){
    foreach($val AS $key=>$value){
    if(!$key){
    ?>
    <a href="#accounts-menu-<?=$k?>" class="nav-header <?=$_current_c[0]==$k ? '' : 'collapsed'?>" data-toggle="collapse"><i class="<?=$_icon_tags[$k]?>"></i><?=$value['tip']?><i class="icon-chevron-up"></i></a>
    <ul id="accounts-menu-<?=$k?>"  class="nav nav-list <?=$_current_c[0]==$k ? 'in' : ''?> collapse">
        <?php }else{ ?>
        <li <?php echo $key==$_current_c[1] && $k==$_current_c[0] ? 'class="active"' : '';?>><a href="<?=$value['link'].'?res='.$k.'-'.$key?>"><?=$value['tip']?></a></li>
        <?php }}?>
    </ul>
    <?php }?>
</div>
<script>loadCent('30%',100);</script>
<div class="content">
    <div class="header">
        <!--
        <div class="stats">
            <p class="stat"><span class="number"><?=session('tj_life_regist')?></span>今日注册数</p>
            <p class="stat"><span class="number"><?=session('tj_life_port')?></span>今日订单数</p>
        </div> -->
        <!--<h1 class="page-title"><?=C('menus')[$_current_c[0]][$_current_c[1]]['tip']?></h1> -->
    </div>
    <ul class="breadcrumb">
        <li><a href="<?=$menus[$_current_c[0]][0]['link']?>"><?=$menus[$_current_c[0]][0]['tip']?></a> <span class="divider">/</span></li>
        <li class="active"><?=$menus[$_current_c[0]][$_current_c[1]]['tip']?></li>
    </ul>
    <div class="container-fluid">
        <div class="row-fluid">
            <script>loadCent('60%',100);</script>
